using UnityEngine;

//用于存储物品信息的属性

[CreateAssetMenu(menuName = "库存系统/物品")]
public class InventoryItemData : ScriptableObject
{
    [Header("物品ID")] 
    public int ID = -1;
    [Header("物品显示名称")]
    public string DisplayName;
    [Header("物品描述")]
    [TextArea(4, 4)]
    public string Description;
    [Header("物品图标")]
    public Sprite Icon;
    [Header("最大堆叠数量")]
    public int MaxStackSize;
    [Header("价格")]
    public int GoldValue;
    [Header("物品预制体")]
    public GameObject ItemPrefab;
}
